
import service from "../index";

// post请求，data
// get请求，params
export function getCoursePlay(params:any){
    return service.get('/getCourse',{params})  // promise
}

// post
export function PlayListData(data:any){
    console.log('请求了');
    
    return service.post('/playList',data)  // promise
}